package com.travel.server.manager.api;

import com.travel.server.manager.dto.request.EmptyRequest;
import com.travel.server.manager.dto.request.advertising.*;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/20 11:47
 * @Desc:
 */
public interface IAdvertisingService {

    /**
     * 1
     * @param request
     * @return
     */
    @RequestMapping(value = "query_advertising_position_list", method = RequestMethod.POST)
    Object queryAdvertisingPositionList(QueryAdvertisingPositionListRequest request);

    /**
     * 2
     * @param request
     * @return
     */
    @RequestMapping(value = "delete_advertising_position", method = RequestMethod.POST)
    Object deleteAdvertisingPosition(DeleteAdvertisingPositionRequest request);

    /**
     * 3
     * @param request
     * @return
     */
    @RequestMapping(value = "update_advertising_position", method = RequestMethod.POST)
    Object updateAdvertisingPosition(UpdateAdvertisingPositionRequest request);

    /**
     * 4
     * @param request
     * @return
     */
    @RequestMapping(value = "query_advertising_position_enum", method = RequestMethod.POST)
    Object queryAdvertisingPositionEnum(EmptyRequest request);

    /**
     * 5
     * @param request
     * @return
     */
    @RequestMapping(value = "query_advertising_source_list", method = RequestMethod.POST)
    Object queryAdvertisingSourceList(QueryAdvertisingSourceListRequest request);

    /**
     * 6
     * @param request
     * @return
     */
    @RequestMapping(value = "delete_advertising_source", method = RequestMethod.POST)
    Object deleteAdvertisingSource(DeleteAdvertisingSourceRequest request);

    /**
     * 7
     * @param request
     * @return
     */
    @RequestMapping(value = "update_advertising_source", method = RequestMethod.POST)
    Object updateAdvertisingSource(UpdateAdvertisingSourceRequest request);

    /**
     * 8
     * @param request
     * @return
     */
    @RequestMapping(value = "query_content_message", method = RequestMethod.POST)
    Object queryContentMessage(QueryContentMessageRequest request);

    /**
     * 9
     * @param request
     * @return
     */
    @RequestMapping(value = "update_content_message", method = RequestMethod.POST)
    Object updateContentMessage(UpdateContentMessageRequest request);
}
